//
//  HomeStrategyCell.m
//  GiftNote
//
//  Created by lanou on 15/8/15.
//  Copyright (c) 2015年 GN. All rights reserved.
//

#import "HomeStrategyCell.h"
#import "UIImageView+WebCache.h"
#import "HomeHeader.h"

@implementation HomeStrategyCell

- (NSMutableArray *)imageViewArray
{
    if (_imageViewArray == nil) {
        self.imageViewArray = [NSMutableArray array];
    }
    return _imageViewArray;
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        
        
    }
    return self;
}

- (void)setStrategyArray:(NSArray *)strategyArray
{
    _strategyArray = strategyArray;
    for (int i = 0; i < _strategyArray.count; i++) {
        UIImageView *imageView = _imageViewArray[i];
        [imageView sd_setImageWithURL:[NSURL URLWithString:_strategyArray[i]] placeholderImage:nil];
    }
}

@end
